]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/protocol.h
As we have an enum for type, why not ..use it?
[user/henk/code/inspircd.git] / include / protocol.h
index 3d8f86cca879635169d060e366b9bf804984c0b8..9634ee4ec77cfda3eb9d0b9a72ab73ece38d25e6 100644 (file)
@@ -56,7 +56,7 @@ class ProtocolInterface : public Extensible
         * @param key The 'key' of the data, e.g. "swhois" for swhois desc on a user
         * @param data The string representation of the data
         */
-       virtual void SendMetaData(void* target, int type, const std::string &key, const std::string &data) { }
+       virtual void SendMetaData(void* target, TargetTypeFlags type, const std::string &key, const std::string &data) { }
 
        /** Send a topic change for a channel
         * @param channel The channel to change the topic for.