summaryrefslogtreecommitdiff
path: root/modules/m_encap.c
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-02-25 19:41:54 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-02-25 19:41:54 +0000
commitc20c297ae617abbfe45a8e886095b8d739d5e64f (patch)
tree36f6408dfa42b2cfc6cccc064a920f70d06a8cd5 /modules/m_encap.c
parentdb3cda8bd9bff7084c9f0e3b9970a3aa67e7c669 (diff)
- m_encap.c:ms_encap(): removed irrelevant comment
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3038 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules/m_encap.c')
-rw-r--r--modules/m_encap.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/m_encap.c b/modules/m_encap.c
index b36eecb..b947db7 100644
--- a/modules/m_encap.c
+++ b/modules/m_encap.c
@@ -64,11 +64,7 @@ ms_encap(struct Client *client_p, struct Client *source_p,
ptr += len;
}
- /*
- * If the final parameter crosses our buffer size, should we bail,
- * like the rest, or should we truncate? ratbox seems to think truncate,
- * so i'll do that for now until i can talk to lee. -bill
- */
+ /* If it's a command without parameters, don't prepend a ':' */
if (parc == 3)
snprintf(ptr, sizeof(buffer) - cur_len, "%s", parv[2]);
else