mirror of
https://github.com/anope/anope.git
synced 2026-07-03 21:03:13 +02:00
Mark pseudoclients as bots on InspIRCd if the bot mode exists.
This commit is contained in:
@@ -562,7 +562,10 @@ struct IRCDMessageCapab : Message::Capab
|
||||
UserMode *um = NULL;
|
||||
|
||||
if (modename.equals_cs("bot"))
|
||||
{
|
||||
um = new UserMode("BOT", modechar[0]);
|
||||
IRCD->DefaultPseudoclientModes += modechar;
|
||||
}
|
||||
else if (modename.equals_cs("callerid"))
|
||||
um = new UserMode("CALLERID", modechar[0]);
|
||||
else if (modename.equals_cs("cloak"))
|
||||
|
||||
Reference in New Issue
Block a user