diff options
-rw-r--r-- | src/modules/m_chancreate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chancreate.cpp b/src/modules/m_chancreate.cpp index 1b6ca6192..77896771e 100644 --- a/src/modules/m_chancreate.cpp +++ b/src/modules/m_chancreate.cpp @@ -40,7 +40,7 @@ class ModuleChanCreate : public Module virtual void OnUserJoin(User* user, Channel* channel, bool sync, bool &silent) { - if (channel->GetUserCounter() == 1) + if (channel->GetUserCounter() == 1 && !channel->IsModeSet('P')) ServerInstance->SNO->WriteToSnoMask('j', "Channel %s created by %s!%s@%s", channel->name.c_str(), user->nick.c_str(), user->ident.c_str(), user->host.c_str()); } }; |