diff options
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 6be68328e..c9bddbcd8 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -529,7 +529,10 @@ void handle_topic(char **parameters, int pcnt, userrec *user) strlcpy(Ptr->setby,user->nick,NICKMAX); Ptr->topicset = TIME; WriteChannel(Ptr,user,"TOPIC %s :%s",Ptr->name, Ptr->topic); - + if (!strcasecmp(user->server,ServerName)) + { + FOREACH_MOD OnPostLocalTopicChange(user,Ptr,topic) + } } else { |