Fix for a server-crashing issue in libnudge.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
fuck
Merge pull request #4531 from Mloc/bs12-libnudge

Fix for a server-crashing issue in libnudge.