summaryrefslogtreecommitdiff
path: root/ircserver.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2014-01-21 01:28:58 +0100
committerTreeki <treeki@gmail.com>2014-01-21 01:28:58 +0100
commitf458a0b65de5db40ecb57d5831117305fc4dd876 (patch)
tree662bfb6a7271cc8fdc7a6674e627656ab44bd2f5 /ircserver.cpp
parent26ad55851febe624145ac807dbf59376ba669eaf (diff)
downloadbounce4-f458a0b65de5db40ecb57d5831117305fc4dd876.tar.gz
bounce4-f458a0b65de5db40ecb57d5831117305fc4dd876.zip
make a bunch more things private/protected where appropriate
Diffstat (limited to '')
-rw-r--r--ircserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ircserver.cpp b/ircserver.cpp
index 8ccdbb9..830c82b 100644
--- a/ircserver.cpp
+++ b/ircserver.cpp
@@ -32,6 +32,6 @@ void IRCServer::lineReceivedEvent(char *line, int size) {
Buffer pkt;
pkt.writeStr(line, size);
for (int i = 0; i < bouncer->clientCount; i++)
- if (bouncer->clients[i]->authState == Client::AS_AUTHED)
+ if (bouncer->clients[i]->isAuthed())
bouncer->clients[i]->sendPacket(Packet::B2C_STATUS, pkt);
}