From 861fe9e7b32c8e1e523cc774547e460c9ed67289 Mon Sep 17 00:00:00 2001 From: Adam- Date: Thu, 17 Dec 2009 02:10:35 +0000 Subject: Added BotInfo* sender arg to all of the User mode functions, changed IRcdProto::SendMode for channels to accept a Channel pointer and fixed unsetting users vhosts on Unreal git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2710 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/os_oline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/os_oline.c') diff --git a/src/core/os_oline.c b/src/core/os_oline.c index d8c407ee5..4e13388c5 100644 --- a/src/core/os_oline.c +++ b/src/core/os_oline.c @@ -34,7 +34,7 @@ class CommandOSOLine : public Command else if (u2 && flag[0] == '+') { ircdproto->SendSVSO(Config.s_OperServ, nick, flag); - u2->SetMode(UMODE_OPER); + u2->SetMode(findbot(Config.s_OperServ), UMODE_OPER); notice_lang(Config.s_OperServ, u2, OPER_OLINE_IRCOP); notice_lang(Config.s_OperServ, u, OPER_OLINE_SUCCESS, flag, nick); ircdproto->SendGlobops(findbot(Config.s_OperServ), "\2%s\2 used OLINE for %s", u->nick, nick); -- cgit