m_away: Fix potential weird behavior with an empty return

This commit is contained in:
Apple Dash 2014-08-09 18:53:18 -04:00
parent 46bf689e52
commit 7d3966bc9b
1 changed files with 1 additions and 1 deletions

View File

@ -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)