1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 13:36:38 +02:00

Do now show topics being set by UIDs on TS6 IRCds

This commit is contained in:
Adam
2010-10-07 16:02:23 -04:00
parent 5298107ae8
commit b4f675adcf
+4 -2
View File
@@ -1017,8 +1017,9 @@ Anope::string Channel::GetModes(bool complete, bool plus)
void Channel::ChangeTopicInternal(const Anope::string &user, const Anope::string &newtopic, time_t ts)
{
User *u = finduser(user);
this->topic = newtopic;
this->topic_setter = user;
this->topic_setter = u ? u->nick : user;
this->topic_time = ts;
Log(LOG_DEBUG) << "Topic of " << this->name << " changed by " << user << " to " << newtopic;
@@ -1033,8 +1034,9 @@ void Channel::ChangeTopicInternal(const Anope::string &user, const Anope::string
void Channel::ChangeTopic(const Anope::string &user, const Anope::string &newtopic, time_t ts)
{
User *u = finduser(user);
this->topic = newtopic;
this->topic_setter = user;
this->topic_setter = u ? u->nick : user;
this->topic_time = ts;
ircdproto->SendTopic(whosends(this->ci), this);