X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fauthhandler.h;h=0f3c788189bcb171de6fedc473afd95708ad4a26;hb=e375f7a6a6de045735a897ef05bf6dcc82770ff5;hp=cfed51e461ddf9bb99b4a4cec7ffe2b4aadd503d;hpb=e55d141896130c9b82bfae60e23078b8b765d85e;p=quassel.git 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(); }