Show
Ignore:
Timestamp:
01/29/11 21:35:54 (4 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1296336954 +0000
git-parent:

[263fbcefa4e7c9542382400747df4c4ef671996d]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1296336954 +0000
Message:

bug, broke target

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/modules/lua.c

    rb553f9a r87e8a7c  
    431431    case 't': 
    432432      if(!strcmp(k, "target")) lua_pushstring(L, check->target); 
    433       if(!strcmp(k, "target_ip")) { 
     433      else if(!strcmp(k, "target_ip")) { 
    434434        if(check->target_ip[0] == '\0') lua_pushnil(L); 
    435435        else lua_pushstring(L, check->target_ip);