diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_cap.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/modules/m_cap.h b/src/modules/m_cap.h index 0fc782b97..604fdb0ef 100644 --- a/src/modules/m_cap.h +++ b/src/modules/m_cap.h @@ -59,19 +59,16 @@ class GenericCap ext.set(data->user, 1); } } - - if (ev.id == "cap_ls") + else if (ev.id == "cap_ls") { data->wanted.push_back(cap); } - - if (ev.id == "cap_list") + else if (ev.id == "cap_list") { if (ext.get(data->user)) data->wanted.push_back(cap); } - - if (ev.id == "cap_clear") + else if (ev.id == "cap_clear") { data->ack.push_back("-" + cap); ext.set(data->user, 0); |