summary refs log tree commit diff stats
path: root/plugins/mpcinfo/mpcInfo.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2012-12-17 16:48:18 -0500
committerTingPing <tingping@tingping.se>2012-12-17 16:48:18 -0500
commitaf9b65ee7807452cce04d94a7f8436dce8e9475f (patch)
tree4989dad408dc2e8d250be92e4b8f794b12d05f4b /plugins/mpcinfo/mpcInfo.c
parentc14f37b9335bb986e7cf738e5d319de4ab0c28e7 (diff)
MPC: don't spam no player running to chat
Diffstat (limited to 'plugins/mpcinfo/mpcInfo.c')
-rw-r--r--plugins/mpcinfo/mpcInfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mpcinfo/mpcInfo.c b/plugins/mpcinfo/mpcInfo.c
index be2fe74f..471b92cf 100644
--- a/plugins/mpcinfo/mpcInfo.c
+++ b/plugins/mpcinfo/mpcInfo.c
@@ -46,7 +46,7 @@ static int mpc_tell(char *word[], char *word_eol[], void *userdata){
        char *tTitle, *zero, *oggLine, *line;
 	   struct tagInfo info;
 	   HWND hwnd = FindWindow("MediaPlayerClassicW",NULL);
-       if (hwnd==0) {hexchat_command(ph, randomLine(notRunTheme));return HEXCHAT_EAT_ALL;}
+       if (hwnd==0) {hexchat_print(ph, randomLine(notRunTheme));return HEXCHAT_EAT_ALL;}
        
        tTitle=(char*)malloc(sizeof(char)*1024);
        GetWindowText(hwnd, tTitle, 1024);