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