X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fauthhandler.h;h=ce2ac677e3f5b5eba4be6f48fc6614e74b978caf;hb=b0fcfdea3deb5e45961745d743c8468e905744b1;hp=cfed51e461ddf9bb99b4a4cec7ffe2b4aadd503d;hpb=e55d141896130c9b82bfae60e23078b8b765d85e;p=quassel.git diff --git a/src/common/authhandler.h b/src/common/authhandler.h index cfed51e4..ce2ac677 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-2015 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(); }