aboutsummaryrefslogtreecommitdiffstats
path: root/irc_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc_user.c')
-rw-r--r--irc_user.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/irc_user.c b/irc_user.c
index b7629490..cf1d1e3e 100644
--- a/irc_user.c
+++ b/irc_user.c
@@ -146,8 +146,18 @@ static gboolean root_privmsg( irc_user_t *iu, const char *msg )
return TRUE;
}
+static gboolean root_ctcp( irc_user_t *iu, char * const *ctcp )
+{
+ if( g_strcasecmp( ctcp[0], "VERSION" ) == 0 )
+ {
+ }
+
+ return TRUE;
+}
+
const struct irc_user_funcs irc_user_root_funcs = {
root_privmsg,
+ root_ctcp,
};
/* Echo to yourself: */