X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/ac3bdc8db9c628263a86035ede92b7e905e4c8a6..db4e7826812cf256f6382cafcf93c3986040d842:/src/hash.c diff --git a/src/hash.c b/src/hash.c index 23ac238..6e1005f 100644 --- a/src/hash.c +++ b/src/hash.c @@ -692,7 +692,7 @@ reg_topic_func(topic_func_t handler) } void -SetChannelTopic(struct chanNode *channel, struct userNode *user, const char *topic, int announce) +SetChannelTopic(struct chanNode *channel, struct userNode *service, struct userNode *user, const char *topic, int announce) { unsigned int n; struct modeNode *mn; @@ -713,7 +713,7 @@ SetChannelTopic(struct chanNode *channel, struct userNode *user, const char *top if (announce) { /* We don't really care if a local user messes with the topic, * so don't call the tf_list functions. */ - irc_topic(user, channel, topic); + irc_topic(service, user, channel, topic); } else { for (n=0; nmembers.list);