1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 18:23:13 +02:00

Reworked live SQL support yet again

This commit is contained in:
Adam
2012-04-23 05:08:26 -04:00
parent 63c639e108
commit 573e49a7ea
172 changed files with 2517 additions and 2217 deletions
+2 -2
View File
@@ -39,7 +39,7 @@ class CommandCSUp : public Command
if (c == NULL)
source.Reply(CHAN_X_NOT_IN_USE, channel.c_str());
else if (c->ci == NULL)
else if (!c->ci)
source.Reply(CHAN_X_NOT_REGISTERED, channel.c_str());
else
chan_set_correct_modes(u, c, 1);
@@ -94,7 +94,7 @@ class CommandCSDown : public Command
if (c == NULL)
source.Reply(CHAN_X_NOT_IN_USE, channel.c_str());
else if (c->ci == NULL)
else if (!c->ci)
source.Reply(CHAN_X_NOT_REGISTERED, channel.c_str());
else
RemoveAll(u, c);