]> jfr.im git - irc/UndernetIRC/gnuworld.git/commitdiff
mod.ccontrol: no longer adding the hostmask *!*@* for new opers
authorHidden <redacted>
Wed, 14 Dec 2022 02:58:58 +0000 (21:58 -0500)
committerHidden <redacted>
Wed, 14 Dec 2022 02:58:58 +0000 (21:58 -0500)
the hostmasks are no longer used for opered users. It is now
used strictly for determinig if a non-opered user can use the
REMOTE OPER functionality included in this module.

mod.ccontrol/ADDUSERCommand.cc

index 95cf8897f17d4f45ed92ca5002725ce1fc6c9fad..75513e989dd7080e1a1c5d1445ae5a5e24874496 100644 (file)
@@ -201,7 +201,6 @@ if(bot->AddOper(theUser) == true)
        {
        bot->Notice(theClient, "Oper successfully added.");
        theUser->loadData(theUser->getUserName());
-       bot->AddHost(theUser,"*!*@*");
        }
 else
        bot->Notice(theClient, "Error while adding the new oper.");