Changeset 1d3e925 for functions.c


Ignore:
Timestamp:
Jun 27, 2003, 5:22:39 PM (21 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
5bb6c21
Parents:
f562355
Message:
make webzephyr login/logout messages count as login/logout messages
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    rf562355 r1d3e925  
    17981798
    17991799      /* Special case a personal reply to a webzephyr user on a class */
    1800       if ((type==1) && !strcasecmp(owl_message_get_opcode(m), "webzephyr")) {
    1801         class="webzephyr";
     1800      if ((type==1) && !strcasecmp(owl_message_get_opcode(m), OWL_WEBZEPHYR_OPCODE)) {
     1801        class=OWL_WEBZEPHYR_CLASS;
    18021802        inst=owl_message_get_sender(m);
    18031803        to=OWL_WEBZEPHYR_PRINCIPAL;
    1804       } else if (!strcasecmp(owl_message_get_class(m), "webzephyr") &&
    1805                  owl_message_is_loginout(m)) {
     1804      } else if (!strcasecmp(owl_message_get_class(m), OWL_WEBZEPHYR_CLASS) && owl_message_is_loginout(m)) {
    18061805        /* Special case LOGIN/LOGOUT notifications on class "webzephyr" */
    1807         class="webzephyr";
     1806        class=OWL_WEBZEPHYR_CLASS;
    18081807        inst=owl_message_get_instance(m);
    18091808        to=OWL_WEBZEPHYR_PRINCIPAL;
Note: See TracChangeset for help on using the changeset viewer.