diff options
Diffstat (limited to 'modules/protocol/bahamut.cpp')
-rw-r--r-- | modules/protocol/bahamut.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/protocol/bahamut.cpp b/modules/protocol/bahamut.cpp index 1fca45c39..cecc480f3 100644 --- a/modules/protocol/bahamut.cpp +++ b/modules/protocol/bahamut.cpp @@ -214,10 +214,9 @@ class BahamutIRCdProto : public IRCDProto send_cmd(source->nick, "KICK %s %s", chan->name.c_str(), user->nick.c_str()); } - void SendClientIntroduction(const User *u, const Anope::string &modes) + void SendClientIntroduction(const User *u) { - XLine x(u->nick, "Reserved for services"); - ircdproto->SendSQLine(NULL, &x); + Anope::string modes = "+" + u->GetModes(); send_cmd("", "NICK %s 1 %ld %s %s %s %s 0 0 :%s", u->nick.c_str(), static_cast<long>(u->timestamp), modes.c_str(), u->GetIdent().c_str(), u->host.c_str(), u->server->GetName().c_str(), u->realname.c_str()); } |