diff options
| author | 2012-12-05 21:13:05 +0100 | |
|---|---|---|
| committer | 2012-12-05 21:49:46 +0100 | |
| commit | a969c1e440cb3f77e81ba5da3f4b3bf09bb5190a (patch) | |
| tree | 47895ddba6d9b36b48386881211c8d71c3664b2d /src/modules/m_cban.cpp | |
| parent | Change a few signed counter variables to unsigned so they roll over later (diff) | |
| download | inspircd++-a969c1e440cb3f77e81ba5da3f4b3bf09bb5190a.tar.gz inspircd++-a969c1e440cb3f77e81ba5da3f4b3bf09bb5190a.tar.bz2 inspircd++-a969c1e440cb3f77e81ba5da3f4b3bf09bb5190a.zip | |
m_cban, m_rline, m_shun Don't broadcast when user is a local user
spanningtree sends an ADDLINE in this case
Diffstat (limited to 'src/modules/m_cban.cpp')
| -rw-r--r-- | src/modules/m_cban.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp index 20e95ebe4..c779f02df 100644 --- a/src/modules/m_cban.cpp +++ b/src/modules/m_cban.cpp @@ -147,6 +147,9 @@ class CommandCBan : public Command RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters) { + if (IS_LOCAL(user)) + return ROUTE_LOCALONLY; // spanningtree will send ADDLINE + return ROUTE_BROADCAST; } }; |
