* ircd/m_kick.c (ms_kick): Likewise.
+ * ircd/m_topic.c (do_settopic): Another &me -> &his change for
+ HIS, and use that apparent source for the channel localcast.
+
2005-08-16 Jukka Ollila <jaollila@niksula.hut.fi>
* ircd/s_user.c (hide_hostmask): Use HIS_SERVERNAME instead of the
int newtopic;
if (feature_bool(FEAT_HIS_BANWHO) && IsServer(sptr))
- from = &me;
+ from = &his;
else
from = sptr;
if (IsChannelService(sptr))
sendcmdto_serv_butone(sptr, CMD_TOPIC, cptr, "%H %Tu %Tu :%s", chptr,
chptr->creationtime, chptr->topic_time, chptr->topic);
if (newtopic)
- sendcmdto_channel_butserv_butone(sptr, CMD_TOPIC, chptr, NULL, 0,
+ sendcmdto_channel_butserv_butone(from, CMD_TOPIC, chptr, NULL, 0,
"%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