projects
/
serene-ircd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f3b947
)
Remove unneeded sanity check (according to the compiler)
author
Remco Rijnders
<remco@webconquest.com>
Wed, 15 Feb 2012 19:35:35 +0000
(20:35 +0100)
committer
Remco Rijnders
<remco@webconquest.com>
Wed, 15 Feb 2012 19:35:35 +0000
(20:35 +0100)
src/s_conf.c
patch
|
blob
|
history
diff --git
a/src/s_conf.c
b/src/s_conf.c
index 0b77d94251685e0f97a88fc574eaf7231986ce68..8e6337b99707770abe760d281c95c084c0b9dcdc 100644
(file)
--- a/
src/s_conf.c
+++ b/
src/s_conf.c
@@
-1909,9
+1909,8
@@
int m_kline (cptr, sptr, parc, parv)
else
host = acptr->user->host;
- /* Sanity checks */
-
- if (name == '\0' || host == '\0') {
+ /* Sanity check */
+ if (host == '\0') {
Debug ((DEBUG_INFO, "KLINE: Bad field"));
sendto_one (sptr, "NOTICE %s :Bad field!", parv[0]);
return 0;