aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--irc.h8
-rw-r--r--root_commands.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/irc.h b/irc.h
index 8a37b0ca..b2a088d0 100644
--- a/irc.h
+++ b/irc.h
@@ -310,7 +310,7 @@ int irc_channel_set_topic(irc_channel_t *ic, const char *topic, const irc_user_t
void irc_channel_user_set_mode(irc_channel_t *ic, irc_user_t *iu, irc_channel_user_flags_t flags);
void irc_channel_set_mode(irc_channel_t *ic, const char *s);
void irc_channel_auto_joins(irc_t *irc, struct account *acc);
-void irc_channel_printf(irc_channel_t *ic, char *format, ...);
+void irc_channel_printf(irc_channel_t *ic, char *format, ...) G_GNUC_PRINTF(2, 3);
gboolean irc_channel_name_ok(const char *name);
void irc_channel_name_strip(char *name);
int irc_channel_name_cmp(const char *a_, const char *b_);
@@ -329,9 +329,9 @@ void irc_send_num(irc_t *irc, int code, char *format, ...) G_GNUC_PRINTF(3, 4);
void irc_send_login(irc_t *irc);
void irc_send_motd(irc_t *irc);
const char *irc_user_msgdest(irc_user_t *iu);
-void irc_rootmsg(irc_t *irc, char *format, ...);
-void irc_usermsg(irc_user_t *iu, char *format, ...);
-void irc_usernotice(irc_user_t *iu, char *format, ...);
+void irc_rootmsg(irc_t *irc, char *format, ...) G_GNUC_PRINTF(2, 3);
+void irc_usermsg(irc_user_t *iu, char *format, ...) G_GNUC_PRINTF(2, 3);
+void irc_usernotice(irc_user_t *iu, char *format, ...) G_GNUC_PRINTF(2, 3);
void irc_send_join(irc_channel_t *ic, irc_user_t *iu);
void irc_send_part(irc_channel_t *ic, irc_user_t *iu, const char *reason);
void irc_send_quit(irc_user_t *iu, const char *reason);
diff --git a/root_commands.c b/root_commands.c
index 957c9518..1278126f 100644
--- a/root_commands.c
+++ b/root_commands.c
@@ -1235,7 +1235,7 @@ static void cmd_plugins(irc_t *irc, char **cmd)
}
#endif
- irc_rootmsg(irc, "");
+ irc_rootmsg(irc, " ");
gstr = g_string_new(NULL);
prpls = get_protocols();