summaryrefslogtreecommitdiff
path: root/src/map/channel.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-01-22 18:37:56 +0100
committerHaru <haru@dotalux.com>2015-01-24 14:37:25 +0100
commit30ac667346838d1777eed6cf90ce24341c6d2914 (patch)
tree9d0ae008e5bb036a4c524367e5c09d08a6a5a79e /src/map/channel.h
parent5066af1700e95b5db24f9998cf1ff052b45f5fa0 (diff)
downloadhercules-30ac667346838d1777eed6cf90ce24341c6d2914.tar.gz
hercules-30ac667346838d1777eed6cf90ce24341c6d2914.tar.bz2
hercules-30ac667346838d1777eed6cf90ce24341c6d2914.tar.xz
hercules-30ac667346838d1777eed6cf90ce24341c6d2914.zip
Channels refactoring: search
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/channel.h')
-rw-r--r--src/map/channel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/channel.h b/src/map/channel.h
index 8709a9f96..39127f3b9 100644
--- a/src/map/channel.h
+++ b/src/map/channel.h
@@ -86,7 +86,7 @@ struct channel_interface {
int (*init) (bool minimal);
void (*final) (void);
- struct channel_data *(*search) (const char *name);
+ struct channel_data *(*search) (const char *name, struct map_session_data *sd);
struct channel_data *(*create) (enum channel_types type, const char *name, unsigned char color);
void (*set_password) (struct channel_data *chan, const char *password);
enum channel_operation_status (*ban) (struct channel_data *chan, const struct map_session_data *ssd, struct map_session_data *tsd);