aboutsummaryrefslogtreecommitdiff
path: root/src/espik_irc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/espik_irc.c')
-rw-r--r--src/espik_irc.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/espik_irc.c b/src/espik_irc.c
index 21c418f..ff58dea 100644
--- a/src/espik_irc.c
+++ b/src/espik_irc.c
@@ -70,7 +70,7 @@ void string_upper (char *str)
if (str[i] >= 0x61 && str[i] <= 0x7A)
str[i] -= 0x20;
}
- espik_debug_print ("string_upper: %s", str);
+ printf ("string_upper: %s", str);
espik_leave();
}
#endif
@@ -112,8 +112,8 @@ char* irc_join (char* chan __UNUSED__, char* msg)
* have to look on RFC, dev will be done with # only */
if (msg[0] != '#')
{
- espik_debug_print ("%s is not a channel", msg);
- espik_debug_print ("Usage: /JOIN #channel");
+ printf ("%s is not a channel", msg);
+ printf ("Usage: /JOIN #channel");
return (0);
}
@@ -164,7 +164,7 @@ char* irc_quit (char* chan __UNUSED__, char* msg)
snprintf (out.buf, out.len, "QUIT :%s", msg);
- espik_debug_print ("msg : %s\nout: %s", msg, out.buf);
+ printf ("msg : %s\nout: %s", msg, out.buf);
/*
espik_raw_send (out);
@@ -191,7 +191,7 @@ char* irc_nick (char* chan __UNUSED__, char* nick)
snprintf (out.buf, out.len, "NICK %s", nick);
- espik_debug_print ("NICK CHANGED REQUEST: %s", nick);
+ printf ("NICK CHANGED REQUEST: %s", nick);
return (out.buf);
}
@@ -207,9 +207,9 @@ Ecore_Con_Server* irc_connect (char* host __UNUSED__, int port __UNUSED__)
void irc_disconnect (Ecore_Con_Server *sock)
{
espik_enter();
- espik_debug_print ("> irc_disconnect");
+ printf ("> irc_disconnect");
ecore_main_loop_quit ();
- espik_debug_print ("< irc_disconnect");
+ printf ("< irc_disconnect");
espik_leave();
}
#endif
@@ -230,7 +230,7 @@ char* irc_send (char* msg)
cmd_and_message = separate_commandline (msg + 1);
/*
- espik_debug_print ("irc_send: <separate_commandline");
+ printf ("irc_send: <separate_commandline");
*/
/*
@@ -250,7 +250,7 @@ char* irc_send (char* msg)
}
if (!out)
{
- espik_debug_print ("%s is not a know command",
+ printf ("%s is not a know command",
cmd_and_message[0]);
return (0);
}
@@ -264,7 +264,7 @@ char* irc_send (char* msg)
return (0);
}
- espik_debug_print ("%s", out);
+ printf ("%s", out);
return (out);
}