1
0
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:
stskeeps
2000-12-03 13:13:27 +00:00
parent ceb8171657
commit cd5548cab8
3 changed files with 5 additions and 2 deletions
+2
View File
@@ -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
View File
@@ -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
View File
@@ -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");
}