diff options
author | Adam <Adam@drink-coca-cola.info> | 2010-04-29 17:31:34 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-06-18 20:58:52 -0400 |
commit | c1d161dec451ea790ff87078b5d80b1f71a3e9f0 (patch) | |
tree | 2ada0230d0411d10bb1e710d701874d253a4d4aa /src/protocol.cpp | |
parent | 73e93305c10f349742fad3b2197c6c5dd3aea34e (diff) |
Rewrote all of the server handling code
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r-- | src/protocol.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp index 2188e86ba..761df1ca1 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -153,12 +153,12 @@ void IRCDProto::SendPrivmsg(BotInfo *bi, const char *dest, const char *fmt, ...) void IRCDProto::SendGlobalNotice(BotInfo *bi, Server *dest, const char *msg) { - send_cmd(ircd->ts6 ? bi->uid : bi->nick, "NOTICE %s%s :%s", ircd->globaltldprefix, dest->name, msg); + send_cmd(ircd->ts6 ? bi->uid : bi->nick, "NOTICE %s%s :%s", ircd->globaltldprefix, dest->GetName().c_str(), msg); } void IRCDProto::SendGlobalPrivmsg(BotInfo *bi, Server *dest, const char *msg) { - send_cmd(ircd->ts6 ? bi->uid : bi->nick, "PRIVMSG %s%s :%s", ircd->globaltldprefix, dest->name, msg); + send_cmd(ircd->ts6 ? bi->uid : bi->nick, "PRIVMSG %s%s :%s", ircd->globaltldprefix, dest->GetName().c_str(), msg); } void IRCDProto::SendQuit(const char *nick, const char *) |