X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/88c7cb10ddd68a03aed3c2cff010e994c4bb7b4c..0f3e9cfc4b5d0f13085c975e10c0e6c4c8e5fbc3:/src/hash.h diff --git a/src/hash.h b/src/hash.h index 04af66d..e759e0c 100644 --- a/src/hash.h +++ b/src/hash.h @@ -99,7 +99,7 @@ #define NICKLEN 30 #define USERLEN 10 #define HOSTLEN 63 -#define ACCOUNTLEN 15 +#define ACCOUNTLEN 15 #define REALLEN 50 #define TOPICLEN 250 #define CHANNELLEN 200 @@ -128,6 +128,7 @@ struct userNode { char numeric[COMBO_NUMERIC_LEN+1]; unsigned int num_local : 18; #endif + unsigned int loc; /* Is user connecting via LOC? */ unsigned int dead : 1; /* Is user waiting to be recycled? */ struct in_addr ip; /* User's IP address */ long modes; /* user flags +isw etc... */ @@ -269,7 +270,7 @@ int ChannelExemptExists(struct chanNode *channel, const char *exempt); typedef int (*topic_func_t)(struct userNode *who, struct chanNode *chan, const char *old_topic); void reg_topic_func(topic_func_t handler); -void SetChannelTopic(struct chanNode *channel, struct userNode *user, const char *topic, int announce); +void SetChannelTopic(struct chanNode *channel, struct userNode *service, struct userNode *user, const char *topic, int announce); struct userNode *IsInChannel(struct chanNode *channel, struct userNode *user); void init_structs(void);