diff options
Diffstat (limited to 'src/modes')
-rw-r--r-- | src/modes/umode_n.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modes/umode_n.cpp b/src/modes/umode_n.cpp index ed08b60f4..ee3fe09b3 100644 --- a/src/modes/umode_n.cpp +++ b/src/modes/umode_n.cpp @@ -32,7 +32,7 @@ ModeAction ModeUserServerNoticeMask::OnModeChange(User* source, User* dest, Chan { /* Fix for bug #310 reported by Smartys */ if (!dest->modes[UM_SNOMASK]) - memset(dest->snomasks, 0, sizeof(dest->snomasks)); + dest->snomasks.reset(); parameter = dest->ProcessNoticeMasks(parameter.c_str()); dest->modes[UM_SNOMASK] = true; |