X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fauthhandler.h;h=0f3c788189bcb171de6fedc473afd95708ad4a26;hp=cfed51e461ddf9bb99b4a4cec7ffe2b4aadd503d;hb=1a45f16a9734820fba42fe1db3f38dd1eee49df6;hpb=e55d141896130c9b82bfae60e23078b8b765d85e diff --git a/src/common/authhandler.h b/src/common/authhandler.h index cfed51e4..0f3c7881 100644 --- a/src/common/authhandler.h +++ b/src/common/authhandler.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -36,6 +36,8 @@ public: QTcpSocket *socket() const; + bool isLocal() const; + virtual void handle(const Protocol::RegisterClient &) { invalidMessage(); } virtual void handle(const Protocol::ClientDenied &) { invalidMessage(); } virtual void handle(const Protocol::ClientRegistered &) { invalidMessage(); }