X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fclientprotocol.h;h=10b70e80b231536c597cf1bfe69e70c87c041a7b;hb=9aadc251e9910998fbbe5438b461958a261eae1d;hp=a3efcf98484f7c8cb32f8b411423d9932c7f075a;hpb=b2ac8cc0a6405946a388b80df3be21bc276a61f3;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/clientprotocol.h b/include/clientprotocol.h index a3efcf984..10b70e80b 100644 --- a/include/clientprotocol.h +++ b/include/clientprotocol.h @@ -467,7 +467,7 @@ class ClientProtocol::Event public: /** Constructor. - * @param protoevent Protocol event provider the event is an instance of. + * @param protoeventprov Protocol event provider the event is an instance of. */ Event(EventProvider& protoeventprov) : event(&protoeventprov) @@ -478,7 +478,7 @@ class ClientProtocol::Event } /** Constructor. - * @param protoevent Protocol event provider the event is an instance of. + * @param protoeventprov Protocol event provider the event is an instance of. * @param msg Message to include in this event by default. */ Event(EventProvider& protoeventprov, ClientProtocol::Message& msg) @@ -544,12 +544,12 @@ class ClientProtocol::MessageTagProvider : public Events::ModuleEventListener /** Called for each tag that the server receives from a client in a message. * @param user User that sent the tag. * @param tagname Name of the tag. - * @param value Value of the tag, empty string if the tag has no value. May be modified. + * @param tagvalue Value of the tag, empty string if the tag has no value. May be modified. * @return MOD_RES_ALLOW to accept the tag with the value in 'value', MOD_RES_DENY to reject the tag and act as if it wasn't sent, * MOD_RES_PASSTHRU to make no decision. If no hooks accept a tag, the tag is rejected. * The default implementation returns MOD_RES_PASSTHRU. */ - virtual ModResult OnClientProtocolProcessTag(LocalUser* user, const std::string& tagname, std::string& tagvalue) + virtual ModResult OnClientProtocolProcessTag(User* user, const std::string& tagname, std::string& tagvalue) { return MOD_RES_PASSTHRU; }