diff options
-rw-r--r-- | skype/skype.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/skype/skype.c b/skype/skype.c index 9134fbb0..1e436074 100644 --- a/skype/skype.c +++ b/skype/skype.c @@ -998,12 +998,15 @@ static char *skype_set_call( set_t *set, char *value ) { user_t *u = user_find(acc->irc, value); /* We are starting a call */ - if(!u) + if(!u && strcmp(value, "echo123")) { imcb_error(ic, "%s - no such nick", value); return(value); } - nick = g_strdup(u->handle); + if(!strcmp(value, "echo123")) + nick = g_strdup("echo123"); + else + nick = g_strdup(u->handle); ptr = strchr(nick, '@'); if(ptr) *ptr = '\0'; |