diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-14 21:29:08 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-14 21:29:08 +0000 |
| commit | 711787b54d8b57ace877b09587f368cee5553b70 (patch) | |
| tree | f5093aeeec5c1f4155e31f72488ae4040e37f551 /src/core | |
| parent | f2c44c67b59bd4f6a5a01412f2dc5df59010b1da (diff) | |
Burned do_sjoin and rewrote it to be sane. This changes how Anope handles new channel creations drasitcally as we now truely track it all instead of hack around it by not initially tracking user joins to new channels
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2755 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/cs_forbid.c | 1 | ||||
| -rw-r--r-- | src/core/cs_set.c | 2 | ||||
| -rw-r--r-- | src/core/os_defcon.c | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/src/core/cs_forbid.c b/src/core/cs_forbid.c index adf82ab2c..718cd41a1 100644 --- a/src/core/cs_forbid.c +++ b/src/core/cs_forbid.c @@ -68,7 +68,6 @@ class CommandCSForbid : public Command if ((c = findchan(ci->name.c_str()))) { struct c_userlist *cu, *nextu; - const char *av[3]; /* Before banning everyone, it might be prudent to clear +e and +I lists.. * to prevent ppl from rejoining.. ~ Viper */ diff --git a/src/core/cs_set.c b/src/core/cs_set.c index dbe35f79c..277649cfb 100644 --- a/src/core/cs_set.c +++ b/src/core/cs_set.c @@ -217,7 +217,7 @@ class CommandCSSet : public Command if (!modeparams.GetToken(param)) continue; - if (!cmp->IsValid(param.c_str())) + if (!cmp->IsValid(param)) continue; ci->SetMLock(cmp->Name, true, param); diff --git a/src/core/os_defcon.c b/src/core/os_defcon.c index 081cefa23..e9583adfc 100644 --- a/src/core/os_defcon.c +++ b/src/core/os_defcon.c @@ -461,7 +461,7 @@ void defconParseModeString(const char *str) continue; } - if (!cmp->IsValid(param.c_str())) + if (!cmp->IsValid(param)) continue; SetDefConParam(cmp->Name, param); |
