summaryrefslogtreecommitdiff
path: root/modules/protocol/unreal.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-10-02 22:59:20 -0400
committerAdam <Adam@anope.org>2012-10-02 22:59:20 -0400
commit47bc551485f46f6195850be1c2a5edb1d8998e30 (patch)
tree819429547978a437a591e499c00202f6f9566ee9 /modules/protocol/unreal.cpp
parent87478187af9f6f670ebf679ce7cc6cc29b21f7af (diff)
Revert "Fix topiclock on inspircd"
This reverts commit 87478187af9f6f670ebf679ce7cc6cc29b21f7af.
Diffstat (limited to 'modules/protocol/unreal.cpp')
-rw-r--r--modules/protocol/unreal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/protocol/unreal.cpp b/modules/protocol/unreal.cpp
index 3f1ee2263..186fc8563 100644
--- a/modules/protocol/unreal.cpp
+++ b/modules/protocol/unreal.cpp
@@ -57,9 +57,9 @@ class UnrealIRCdProto : public IRCDProto
UplinkSocket::Message() << "BD - G " << x->GetUser() << " " << x->GetHost() << " " << Config->OperServ;
}
- void SendTopic(BotInfo *bi, Channel *c, const Anope::string &topic, const Anope::string &setter, time_t &ts) anope_override
+ void SendTopic(BotInfo *whosets, Channel *c) anope_override
{
- UplinkSocket::Message(bi) << "TOPIC " << c->name << " " << setter << " " << ts << " :" << topic;
+ UplinkSocket::Message(whosets) << ") " << c->name << " " << c->topic_setter << " " << c->topic_time + 1 << " :" << c->topic;
}
void SendGlobalNotice(const BotInfo *bi, const Server *dest, const Anope::string &msg) anope_override