Fixes the other IRC plugin crash.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3137 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2009-03-07 03:55:51 +00:00
parent 37fbf203c5
commit dad710ee27

View file

@ -145,7 +145,7 @@ console_t *Con_FindConsole(char *name)
console_t *Con_Create(char *name)
{
console_t *con;
con = BZ_Malloc(sizeof(console_t));
con = Z_Malloc(sizeof(console_t));
Q_strncpyz(con->name, name, sizeof(con->name));
Con_ResizeCon(con);