mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-08 03:23:12 +02:00
Fixed a umode2 bug that crashed the server
This commit is contained in:
@@ -4449,6 +4449,8 @@ int m_umode2(cptr, sptr, parc, parv)
|
||||
NULL
|
||||
};
|
||||
|
||||
if (!parv[1])
|
||||
return 0;
|
||||
m_umode(cptr, sptr, parv[3] ? 4 : 3, xparv);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user