mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-22 15:43:02 +01:00
Remove error code that no longer exists
This commit is contained in:
parent
7ed031b9bf
commit
e56edd556f
@ -385,11 +385,6 @@ void set_nick_all_groups(Tox *m, const char *new_nick, size_t length)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case TOX_ERR_GROUP_SELF_NAME_SET_TAKEN: {
|
|
||||||
line_info_add(self, false, NULL, 0, SYS_MSG, 0, RED, "-!- That nick is already in use.");
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
default: {
|
default: {
|
||||||
if (groupchats[i].time_connected > 0) {
|
if (groupchats[i].time_connected > 0) {
|
||||||
line_info_add(self, false, NULL, 0, SYS_MSG, 0, RED, "-!- Failed to set nick (error %d).", err);
|
line_info_add(self, false, NULL, 0, SYS_MSG, 0, RED, "-!- Failed to set nick (error %d).", err);
|
||||||
|
Loading…
Reference in New Issue
Block a user