Fix bug introduced in r243 where /LASTLOG without -FILE no longer worked.
Reported by jeezy. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@479 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -434,7 +434,7 @@ BUILT_IN_COMMAND(lastlog)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(fp = fopen(filename, file_open_type)))
|
if (filename && !(fp = fopen(filename, file_open_type)))
|
||||||
{
|
{
|
||||||
bitchsay("cannot open file %s", filename);
|
bitchsay("cannot open file %s", filename);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user