gfx_resizable 0
@everyone
ping was used in #records channel and pinged everyone -- maybe use `` tags to prevent that for the @DDNet bot?class A { class B{ int foo; }; };
you can't expose A::B
opaquelyclass A { class B; public: typedef B C; }
file2.h:class A::B{ int foo; };
#records
has been posted which included the username @everyone
(See message). I am pretty sure that other types of formatting would be possible (i.e. markdown), which is why the usernames in these messages should be escaped from markdown.teesworlds.com
if(pointer)
pointer->dosomething();
#define prefix_safeCall(defaultValue, objectPointer, methodWithArguments)\
[&](auto&& ptr) -> decltype(auto)\
{\
return ptr ? (ptr->methodWithArguments) : (defaultValue);\
}\
(objectPointer)
#define prefix_safeCallVoid(objectPointer, methodWithArguments)\
[&](auto&& ptr)\
{\
if(ptr)\
(ptr->methodWithArguments); \
}\
(objectPointer)
cpp14safe_call
sounds like you add some safety by using it@everyone
. I would suggest to also escape the @
symbol.
For source of the bug see line 31 in file servers/scripts/discord-ranks.py