m_away: Fix potential weird behavior with an empty return
This commit is contained in:
parent
46bf689e52
commit
7d3966bc9b
|
@ -97,7 +97,7 @@ m_away(struct Client *client_p, struct Client *source_p, int parc, const char *p
|
|||
source_p->localClient->next_away > rb_current_time()) {
|
||||
sendto_one(source_p, form_str(RPL_LOAD2HI),
|
||||
me.name, source_p->name, "AWAY");
|
||||
return;
|
||||
return 0;
|
||||
}
|
||||
if(source_p->localClient->next_away < rb_current_time() -
|
||||
ConfigFileEntry.away_interval)
|
||||
|
|
Loading…
Reference in New Issue