diff options
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c index a718f3b..54d9071 100644 --- a/src/message.c +++ b/src/message.c @@ -147,7 +147,9 @@ cmumble_recv_msg(struct cmumble *cm) return 0; } - g_print("debug: received message: %s type:%d, len:%d\n", messages[type].name, type, len); + if (cm->verbose) + g_print("debug: received message: %s type:%d, len:%d\n", + messages[type].name, type, len); if (cm->callbacks[type]) cm->callbacks[type](msg, cm); |