diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-04-22 18:33:02 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-04-22 18:33:02 +0000 |
commit | e879c2850baee41429db1ed400f01c0faae59483 (patch) | |
tree | 572a109f9f78761478c63a335e55722ed193ec2e /modules | |
parent | 9b3964095697b2ea4025151bd3a2d7cd77edcde2 (diff) |
- Fixed some compile warnings
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1845 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules')
-rw-r--r-- | modules/m_xline.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/modules/m_xline.c b/modules/m_xline.c index 9127b08..37fb9a9 100644 --- a/modules/m_xline.c +++ b/modules/m_xline.c @@ -325,17 +325,11 @@ static void write_xline(struct Client *source_p, char *gecos, char *reason, time_t tkline_time) { - struct MaskItem *conf; - const char *current_date; - time_t cur_time; - - conf = conf_make(CONF_XLINE); + struct MaskItem *conf = conf_make(CONF_XLINE); collapse(gecos); conf->name = xstrdup(gecos); conf->reason = xstrdup(reason); - cur_time = CurrentTime; - current_date = smalldate(cur_time); conf->setat = CurrentTime; SetConfDatabase(conf); |