diff options
-rw-r--r-- | modules/commands/cs_access.cpp | 3 | ||||
-rw-r--r-- | modules/commands/cs_flags.cpp | 3 | ||||
-rw-r--r-- | modules/commands/cs_xop.cpp | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/modules/commands/cs_access.cpp b/modules/commands/cs_access.cpp index 309105998..7f7032bbe 100644 --- a/modules/commands/cs_access.cpp +++ b/modules/commands/cs_access.cpp @@ -175,6 +175,9 @@ class CommandCSAccess : public Command return; } } + + if (na) + mask = na->nick; } for (unsigned i = ci->GetAccessCount(); i > 0; --i) diff --git a/modules/commands/cs_flags.cpp b/modules/commands/cs_flags.cpp index cb2e1fd9f..1d861b883 100644 --- a/modules/commands/cs_flags.cpp +++ b/modules/commands/cs_flags.cpp @@ -130,6 +130,9 @@ class CommandCSFlags : public Command return; } } + + if (na) + mask = na->nick; } ChanAccess *current = NULL; diff --git a/modules/commands/cs_xop.cpp b/modules/commands/cs_xop.cpp index bf86c06ce..9524446ea 100644 --- a/modules/commands/cs_xop.cpp +++ b/modules/commands/cs_xop.cpp @@ -176,6 +176,9 @@ class CommandCSXOP : public Command return; } } + + if (na) + mask = na->nick; } for (unsigned i = 0; i < ci->GetAccessCount(); ++i) |