summaryrefslogtreecommitdiff
path: root/ircserver.cpp
diff options
context:
space:
mode:
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);
}