diff options
author | Adam <Adam@anope.org> | 2012-10-30 15:50:39 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-10-30 15:50:39 -0400 |
commit | b07928eea95dc2c12a2be8adfe804e2019881ee5 (patch) | |
tree | 6ae3ca2794f13d868c5931fc71ebbefa0313265c /src/bots.cpp | |
parent | 1ef748038083e845af040ddc0b52ac27d2fe6753 (diff) |
Clean up ngircd proto mod slightly, and send sqlines before introducing clients
Diffstat (limited to 'src/bots.cpp')
-rw-r--r-- | src/bots.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bots.cpp b/src/bots.cpp index bc7fc3cb0..95e28e5f0 100644 --- a/src/bots.cpp +++ b/src/bots.cpp @@ -37,10 +37,10 @@ BotInfo::BotInfo(const Anope::string &nnick, const Anope::string &nuser, const A if (!tmodes.empty()) this->SetModesInternal(tmodes.c_str()); - ircdproto->SendClientIntroduction(this); - this->introduced = true; XLine x(this->nick, "Reserved for services"); ircdproto->SendSQLine(NULL, &x); + ircdproto->SendClientIntroduction(this); + this->introduced = true; } } |