diff options
author | TingPing <tingping@tingping.se> | 2013-06-28 11:59:33 -0400 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2013-06-28 11:59:33 -0400 |
commit | ad926e9b07f499bfb70b57890475c73f9d64812a (patch) | |
tree | e7274fe1de9f1caf264701be28b6785841f960ed /src/common/modes.h | |
parent | ac5771377ea95287a99bfd5c8c99ec65e9bb069d (diff) | |
parent | 059cbcd406a3defbe43859c3d8df7afe5a89e362 (diff) |
Merge pull request #656 from orium/server-time
Closes #499
Diffstat (limited to 'src/common/modes.h')
-rw-r--r-- | src/common/modes.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/common/modes.h b/src/common/modes.h index e55ec911..7e13c7df 100644 --- a/src/common/modes.h +++ b/src/common/modes.h @@ -17,6 +17,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include "proto-irc.h" + #ifndef HEXCHAT_MODES_H #define HEXCHAT_MODES_H @@ -24,8 +26,9 @@ int is_channel (server *serv, char *chan); char get_nick_prefix (server *serv, unsigned int access); unsigned int nick_access (server *serv, char *nick, int *modechars); int mode_access (server *serv, char mode, char *prefix); -void inbound_005 (server *serv, char *word[]); -void handle_mode (server *serv, char *word[], char *word_eol[], char *nick, int numeric_324); +void inbound_005 (server *serv, char *word[], const message_tags_data *tags_data); +void handle_mode (server *serv, char *word[], char *word_eol[], char *nick, + int numeric_324, const message_tags_data *tags_data); void send_channel_modes (session *sess, char *tbuf, char *word[], int start, int end, char sign, char mode, int modes_per_line); #endif |