1
0
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:
Peter Powell
2019-03-30 12:11:31 +00:00
parent 34f65e3266
commit f6ee88c42a
+3
View File
@@ -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"))