Author: Ghostwolf <foxxe@wtfs.net>
[ircu2.10.12-pk.git] / ircd / m_topic.c
index 950e0f472a3d18e6a026a76a11e5510da27d070a..b8cfc82822d0616b4af43318a33c5de8b28a0842 100644 (file)
@@ -118,8 +118,8 @@ static void do_settopic(struct Client *sptr, struct Client *cptr,
      sendcmdto_serv_butone(sptr, CMD_TOPIC, cptr, "%H :%s", chptr,
                           chptr->topic);
    if (newtopic)
-      sendcmdto_channel_butserv(sptr, CMD_TOPIC, chptr, "%H :%s", chptr,
-                                 chptr->topic);
+      sendcmdto_channel_butserv_butone(sptr, CMD_TOPIC, chptr, NULL,
+                                      "%H :%s", chptr, chptr->topic);
       /* if this is the same topic as before we send it to the person that
        * set it (so they knew it went through ok), but don't bother sending
        * it to everyone else on the channel to save bandwidth