diff options
| author | Quentin Carbonneaux | 2012-03-10 17:13:54 +0100 |
|---|---|---|
| committer | Quentin Carbonneaux | 2012-03-10 17:13:54 +0100 |
| commit | 646d0a762d1536fca7c19518d1e30a269b57cba5 (patch) | |
| tree | aa5418e3aab36185b606d9b7ecc495711a00e587 | |
| parent | f87508a1f9fd98d217a8dbe07281835160a58116 (diff) | |
Fixed the 'r' command.
This command kept sending the 'r' before the actual string we wanted to
send.
| -rw-r--r-- | irc.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -303,7 +303,8 @@ uparse(char *m) sndf("PRIVMSG %s :%s", m, p); return; case 'r': /* Send raw. */ - sndf("%s", m); + if (p[1]) + sndf("%s", &p[2]); return; case 'q': /* Quit. */ quit=1; |
