- sendto_channel_local(ALL_MEMBERS, chptr, ":%s TOPIC %s :%s",
- fakesource_p->name, chptr->chname,
- newtopic);
+ {
+ if (IsPerson(fakesource_p))
+ sendto_channel_local(ALL_MEMBERS, chptr,
+ ":%s!%s@%s TOPIC %s :%s",
+ fakesource_p->name,
+ fakesource_p->username,
+ fakesource_p->host,
+ chptr->chname,
+ newtopic);
+ else
+ sendto_channel_local(ALL_MEMBERS, chptr,
+ ":%s TOPIC %s :%s",
+ fakesource_p->name,
+ chptr->chname, newtopic);
+ }