mirror of
https://github.com/anope/anope.git
synced 2026-07-05 17:23:16 +02:00
Store modes as their object form in ModeStatus.
This has the side effect of preventing users from putting nonsense
modes in {botserv}:botmodes and other related fields.
This commit is contained in:
@@ -134,7 +134,7 @@ public:
|
||||
{
|
||||
ChannelStatus status;
|
||||
|
||||
status.AddMode('o');
|
||||
status.AddMode(ModeManager::FindChannelModeByName("OP"));
|
||||
bi->Join(c, &status);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user