auth updated, server recev PASS + USER + NICK
This commit is contained in:
parent
479fc3c6c5
commit
d52b0cc3c2
3 changed files with 7 additions and 7 deletions
|
|
@ -77,7 +77,7 @@ void cmd::dispatch(::User *user, Channel *channel, Server *server, std::string &
|
|||
WARNING_MSG("No command found in line: " << line);
|
||||
return;
|
||||
}
|
||||
std::cout << command_name << std::endl;
|
||||
DEBUG_MSG("Command Name = [" << command_name << "]");
|
||||
switch (command_name[0]) {
|
||||
case 'c':
|
||||
if (command_name == "cap") {
|
||||
|
|
@ -111,9 +111,9 @@ void cmd::dispatch(::User *user, Channel *channel, Server *server, std::string &
|
|||
break;
|
||||
case 'n':
|
||||
if (command_name == "nick") {
|
||||
Nick(user, channel, server, line).execute();
|
||||
Nick(user, channel, server, line).execute();
|
||||
} else if (command_name == "notice") {
|
||||
Notice(user, channel, server, line).execute();
|
||||
Notice(user, channel, server, line).execute();
|
||||
}
|
||||
break;
|
||||
case 'p':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue