mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-27 01:56:37 +02:00
+- Fixed P:line bug, caused by codemastr(tm) coding, (masskills), reported by
+ sidv@sid-kitty-land.org
This commit is contained in:
@@ -235,3 +235,5 @@
|
||||
- Fixed a SJOIN bug, i think, thanks to Web
|
||||
- Fixed a chinese nick thing, thanks to miCro and RexHsu
|
||||
- Fixed a typo in config.h
|
||||
- Fixed a bug in sendto_channel_prefix_tok reported by Strider@ChatCircuit
|
||||
- Fixed P:line bug, caused by codemastr(tm) coding, (masskills), reported by
|
||||
|
||||
+2
-1
@@ -600,7 +600,8 @@ int m_server(cptr, sptr, parc, parv)
|
||||
sendto_one(cptr, "ERROR :No servername");
|
||||
return 0;
|
||||
}
|
||||
if ((cptr->acpt->umodes & LISTENER_CLIENTSONLY) && MyConnect(cptr)) {
|
||||
if (MyConnect(sptr) && (sptr->acpt->umodes & LISTENER_CLIENTSONLY))
|
||||
{
|
||||
return exit_client(cptr, sptr, sptr, "This port is for clients only");
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -2959,7 +2959,7 @@ int m_user(cptr, sptr, parc, parv)
|
||||
if (IsServer(cptr) && !IsUnknown(sptr))
|
||||
return 0;
|
||||
|
||||
if (cptr->acpt->umodes & LISTENER_SERVERSONLY) {
|
||||
if (MyClient(sptr) && (sptr->acpt->umodes & LISTENER_SERVERSONLY)) {
|
||||
return exit_client(cptr, sptr, sptr, "This port is for servers only");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user