From 5727a2d9eeb0688a16e5b7fe32f6d9836c4f7a4e Mon Sep 17 00:00:00 2001 From: Chuck Miller Date: Thu, 11 Nov 2010 21:55:25 -0500 Subject: Have the event system channels use enums instead of strings Reviewed-by: Freeyorp --- src/net/tmwa/generalhandler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/tmwa/generalhandler.h') diff --git a/src/net/tmwa/generalhandler.h b/src/net/tmwa/generalhandler.h index f7f78759..722c3215 100644 --- a/src/net/tmwa/generalhandler.h +++ b/src/net/tmwa/generalhandler.h @@ -51,7 +51,7 @@ class GeneralHandler : public MessageHandler, public Net::GeneralHandler, void clearHandlers(); - void event(const std::string &channel, const Mana::Event &event); + void event(Channels channel, const Mana::Event &event); protected: MessageHandlerPtr mAdminHandler; -- cgit v1.2.3-70-g09d2