Commit 59157651 authored by Dustin L. Howett's avatar Dustin L. Howett

(no need to ternary this again)

parent 707861a5
......@@ -81,7 +81,7 @@ _EVENT(PRIVMSG) {
state.channel = (priv ? sender->nick : recipient);
if(dispatch_command(server, commandname, argc, argv, &state) == -1) {
server->printf("PRIVMSG %s :Unknown command: %s", priv?sender->nick:recipient, commandname);
server->printf("PRIVMSG %s :Unknown command: %s", state.channel, commandname);
}
free(argv);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment