diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-12-16 02:25:38 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-12-16 02:25:38 +0000 |
commit | c6e3324b302aa9ef4cf6bdf002719d8bf2908a0b (patch) | |
tree | aabd05d10c6252151fb452b0db428dd985d5a884 /src/core/ns_getpass.c | |
parent | 98aa38d800a85e4cd295f435424524bbf2f0a3b1 (diff) |
Made many of the functions in IRCDProto accept the relative object pointers instea of char* everywhere, and updated TODO
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2706 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/ns_getpass.c')
-rw-r--r-- | src/core/ns_getpass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ns_getpass.c b/src/core/ns_getpass.c index ac52ccac9..8f4600814 100644 --- a/src/core/ns_getpass.c +++ b/src/core/ns_getpass.c @@ -35,7 +35,7 @@ class CommandNSGetPass : public Command { alog("%s: %s!%s@%s used GETPASS on %s", Config.s_NickServ, u->nick, u->GetIdent().c_str(), u->host, nick); if (Config.WallGetpass) - ircdproto->SendGlobops(Config.s_NickServ, "\2%s\2 used GETPASS on \2%s\2", u->nick, nick); + ircdproto->SendGlobops(findbot(Config.s_NickServ), "\2%s\2 used GETPASS on \2%s\2", u->nick, nick); notice_lang(Config.s_NickServ, u, NICK_GETPASS_PASSCODE_IS, nick, nr->passcode); } else @@ -51,7 +51,7 @@ class CommandNSGetPass : public Command { alog("%s: %s!%s@%s used GETPASS on %s", Config.s_NickServ, u->nick, u->GetIdent().c_str(), u->host, nick); if (Config.WallGetpass) - ircdproto->SendGlobops(Config.s_NickServ, "\2%s\2 used GETPASS on \2%s\2", u->nick, nick); + ircdproto->SendGlobops(findbot(Config.s_NickServ), "\2%s\2 used GETPASS on \2%s\2", u->nick, nick); notice_lang(Config.s_NickServ, u, NICK_GETPASS_PASSWORD_IS, nick, tmp_pass); } else |