diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 08:29:56 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 08:29:56 +0000 |
| commit | 5d695b7bf69eada724742fe7cbdf92b609a0858e (patch) | |
| tree | c0cdb47b73c6b1176d7c3d523c60fc7675e4a3d3 /src/protocol/inspircd11.c | |
| parent | c8d4ff56a17d55ad886096c85e03f6ea12734f5d (diff) | |
Guest nicks, MODE.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1301 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/inspircd11.c')
| -rw-r--r-- | src/protocol/inspircd11.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/protocol/inspircd11.c b/src/protocol/inspircd11.c index e29dba262..8a7fee850 100644 --- a/src/protocol/inspircd11.c +++ b/src/protocol/inspircd11.c @@ -565,12 +565,12 @@ void InspIRCdProto::cmd_numeric(const char *source, int numeric, const char *des send_cmd(source, "PUSH %s ::%s %03d %s %s", dest, source, numeric, dest, buf); } -void InspIRCdProto::cmd_guest_nick(const char *nick, const char *user, const char *host, const char *real, const char *modes) +void InspIRCdProto::SendGuestNick(const char *nick, const char *user, const char *host, const char *real, const char *modes) { send_cmd(ServerName, "NICK %ld %s %s %s %s +%s 0.0.0.0 :%s", static_cast<long>(time(NULL)), nick, host, host, user, modes, real); } -void InspIRCdProto::cmd_mode(const char *source, const char *dest, const char *buf) +void InspIRCdProto::SendMode(const char *source, const char *dest, const char *buf) { if (!buf) return; Channel *c = findchan(dest); @@ -736,7 +736,7 @@ void InspIRCdProto::cmd_notice_ops(const char *source, const char *dest, const c void InspIRCdProto::cmd_bot_chan_mode(const char *nick, const char *chan) { - anope_cmd_mode(nick, chan, "%s %s %s", ircd->botchanumode, nick, nick); + anope_SendMode(nick, chan, "%s %s %s", ircd->botchanumode, nick, nick); } /* PROTOCTL */ |
